/**
 * Created by fangshufeng on 2017/8/31.
 */

// let config=request('./config.json');
//
// module.exports = function() {
//     var greet = document.createElement('div');
//     greet.textContent ="dadsa"; //config.greetText;
//     return greet;
// };

import React, {Component} from 'react'
import {render} from 'react-dom';

import config from './config.json';

export default class Greeter extends Component{
    render() {
        return (
            <div>
                {config.greetText}
            </div>);

    }
}



